package com.ddone.config;

import org.apache.http.client.HttpClient;
import org.apache.http.impl.client.HttpClients;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author ddone
 * @date 2024/4/6-16:09
 */
@Configuration
public class HttpConfig {
    @Bean
    public HttpClient httpClient(){
        return HttpClients.createDefault();
    }
}
